package samfeng.erp.location.controller.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 仓库库位 Excel 导出 Request VO", description = "参数和 LocationPageReqVO 是一致的")
@Data
public class LocationExportReqVO {

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    @ApiModelProperty(value = "开启状态")
    private Integer status;

    @ApiModelProperty(value = "库位名")
    private String name;

    @ApiModelProperty(value = "完整库位路径")
    private String completeName;

    @ApiModelProperty(value = "库位类型")
    private String usageType;

    @ApiModelProperty(value = "横坐标(x)")
    private Integer posx;

    @ApiModelProperty(value = "货架(y)")
    private Integer posy;

    @ApiModelProperty(value = "高度(z)")
    private Integer posz;

    @ApiModelProperty(value = "是一个报废位置?")
    private String scrapLocation;

    @ApiModelProperty(value = "是一个退回位置?")
    private String returnLocation;

    @ApiModelProperty(value = "库存计算频率(天)")
    private Integer cyclicInventoryFrequency;

    @ApiModelProperty(value = "最后一次有效的库存的日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] lastInventoryDate;

    @ApiModelProperty(value = "未来预期库存日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] nextInventoryDate;

    @ApiModelProperty(value = "上级库位")
    private Long parentId;

    @ApiModelProperty(value = "下架策略id")
    private Long removalStrategyId;

    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;

    @ApiModelProperty(value = "存储类型id")
    private Long storageCategoryId;

    @ApiModelProperty(value = "库位描述")
    private String description;

    @ApiModelProperty(value = "排序号")
    private Integer sequence;

}
